import type { FormInstance } from "element-plus";
import type { LofinFormInt, ImgCheckInt, RegistFormInt } from '../type/index'

import { ref } from 'vue';

export class InitData {
    loginFrom: LofinFormInt = {
        userName: "",
        password: "",
        isshow: true
    }
    RegistFrom: RegistFormInt = {
        userName: "",
        password: "",
        passwordfirst:'',
        isshow: true
    }
    loginFromRef = ref<FormInstance>()
    passwordType:string = 'password'
    isverify: boolean = false
    x:number = 0
}

export class InitImg implements ImgCheckInt {
    left: number = 28
    top: number = 0
    btnleft: number = 0
    btnRef:any = null
    offsetLeft: number = 0
    bgImgRef:any = null
}